#pragma once

#include "Types.h"
#include "tinyxml.h"
#include <string>

class Texture
{
public:

	Texture(string _filep, double _ls, double _lt) : filePath(_filep), length_s(_ls), length_t(_lt) {}
	Texture(TiXmlElement *element);

	virtual ~Texture(void) {}

	// Atributes
	string id;
	string filePath;
	double length_s, length_t;

	void initElement() {}
	void displayElement() {}

	// Methods
	bool handleTexture(TiXmlElement *element);
	void printTexture();

	static string Value() { return "texture"; }
};

